package cmd;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import annotation.ControlAnnotation;

import mode.mode2;
import mode.modeHelp;

public class mode2cmd extends AbstractCmd{
	@Override
	public void excute(HttpServletRequest req, HttpServletResponse response,
			modeHelp modeHelp) {
		
	}
	@ControlAnnotation(viewURL="mode.mode2",forwardURL="WEB-INF/jsp/back2.jsp")
	public void method1(HttpServletRequest req, HttpServletResponse response,
			modeHelp modeHelp) {
		mode2 m=(mode2) modeHelp.getMode();
		req.setAttribute("mode", m);
	}
	
}
